package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._0._4抽象类与接口;

/**
 * @ClassName MachineCat
 * @Description TODO
 * @Author zero
 * @DATE 2023/7/9 7:42 PM
 * @Version 1.0
 */
public class MachineCat extends Cat implements IChange{
    public MachineCat() {
        super();
    }

    public MachineCat(String name) {
        super(name);
    }

    @Override
    public String changeThing(String thing) {
        return this .name+" 有神奇的口袋,容纳万物"+thing ;
    }
}
